home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvsi1_21.arc / README.1ST < prev    next >
Text File  |  1991-10-09  |  13KB  |  286 lines

  1.                     DESQview System Information
  2.                         DVSI Version 1.21
  3.                          October 8, 1991
  4.  
  5.                         by Daniel J. Bodoh
  6.  
  7.  
  8.  
  9. INTRODUCTION
  10.      DVSI is an attempt to bring some Unix commands to DESQview (T),
  11.      and provide information on DESQview's status. Many Unix-utility
  12.      packages exist, but are intended for non-multitasking DOS.
  13.      With the advent of DESQview, multitasking on a DOS machine became
  14.      possible, and I found myself wishing I had some of the Unix
  15.      commands at my fingertips.
  16.  
  17.      This package is not only restricted to Unix-like commands, though.
  18.      DESQview System Information sums it up well, although there
  19.      is (and will be) utilities that don't necessarily provide
  20.      information.  Maybe "Helpful DESQview Stuff" would have been
  21.      a better name.
  22.  
  23.      All the DVSI programs may be run from the DOS command line.
  24.      All may be run in their own window, and some can be run continously
  25.      for monitoring.
  26.  
  27.      DVSI 1.21, although it doesn't contain any new programs, has
  28.      a few new features.  Read the rest of this file and WHATSNEW.DOC for
  29.      more information.
  30.  
  31. THE DVSI PACKAGE
  32.      The files in this package include
  33.  
  34.           README.1ST   - This file
  35.           MANPAGES.DOC - A formal description of each command
  36.           WHATSNEW.DOC - Changes since version 1.0
  37.           DVSIXDI.COM  - DVSI's external device interface
  38.           PS.COM       - Process status: Handle, switch windows #,
  39.                          memory info, cpu time and utilization, etc.
  40.           DF.COM       - Free and used disk space
  41.           PERF.COM     - DESQview performance: CPU Utilization, task switches
  42.           KILL.COM     - Kills processes
  43.           WN.COM       - Kills, raises, lowers, tops, suspends or hides                         processes
  44.           UPTIME.COM   - Displays time DESQview has been running
  45.           MEMSTAT.COM  - An alternative to DESQview's Memory Status
  46.           PS-PIF.DVP   - DVP for PS.COM
  47.           PF-PIF.DVP   - DVP for PERF.COM
  48.           DF-PIF.DVP   - DVP for DF.COM
  49.           UP-PIF.DVP   - DVP for UPTIME.COM
  50.           MT-PIF.DVP   - DVP for MEMSTAT.COM
  51.  
  52. SYSTEM REQUIREMENTS
  53.      - DESQview 2.26 or newer
  54.      - DOS 3.3 or newer
  55.           (the programs may work with older versions of DOS; I haven't
  56.            tested)
  57.  
  58. HOW IT WORKS
  59.      The heart of DVSI is DVSIXDI.COM.  This is a Terminate-and-Stay-
  60.      Resident (TSR) program which is required by most of the programs.
  61.      DVSIXDI should be placed in your AUTOEXEC.BAT and run before
  62.      DESQview is started.
  63.  
  64.      Unfortunately, the DESQview API provides no way to get a list
  65.      of the current processes.  However, DESQview 2.26 introduced
  66.      a way to "hook" into DESQview and collect this information.
  67.      This "hook" is called an eXternal Device Interface (XDI).  Every
  68.      time DESQview starts a process, kills a process, swaps a process
  69.      out, switches to a new process, etc, it calls all the XDIs that
  70.      have been loaded.  DVSIXDI keeps track of the current processes
  71.      in a list, and adds other information to this list such as
  72.      Open Keys and CPU Time.
  73.  
  74.      The utilities that I provide communicate with DVSIXDI and
  75.      get their information from it.  Some programs, such as DF.COM
  76.      and MEMSTAT.COM, don't require DVSIXDI loaded because they don't
  77.      use any of this information.
  78.  
  79.      Just what you needed was another TSR.  I have attempted, however,
  80.      to make DVSIXDI as small as possible.  In fact, I employed some
  81.      tricks to keep the size down.  Version 1.0 required 1.1K of memory;
  82.      version 1.21 requires 1.3K of memory.  If I hadn't used these
  83.      tricks, version 1.21 would be about 2K.
  84.  
  85.      In order to save precious memory, load your TSRs (including
  86.      DVSIXDI) before you set a PATH or any other environment variables.
  87.      That will keep the environment which is loaded with the program
  88.      at about 0.1K or less.
  89.  
  90. GETTING STARTED
  91.      I am going to assume you know what AUTOEXEC.BAT is, and how to
  92.      use Add A Program.  If you don't, take a look at the manuals
  93.      or find a guru.
  94.  
  95.      CD to the DESQview directory.  Type SETUP to run DESQview's setup.
  96.      Hit RETURN for advanced setup, and choose Performance.  Make
  97.      sure the Common Memory field is AT LEAST 14K.  If this field
  98.      is not large enough, the programs will error out with
  99.      "not enough common memory".
  100.  
  101.      If you have an older version of DVSI, get rid of the files, and
  102.      use Delete A Program to get rid of all old DVSI programs on
  103.      the Open Windows menu.
  104.  
  105.      Put all the DVSI files in an appropriate directory, such as
  106.      C:\DVSI.
  107.  
  108.      Install DVSIXDI.COM in your AUTOEXEC.BAT.  If you use loadhi,
  109.      DVSIXDI requires about 2K of run-time memory and 1.3K of
  110.      resident memory (if you place it before any environment variables).
  111.      If you want to run the DVSI programs from the DOS command line,
  112.      add the DVSI directory to your PATH.
  113.  
  114.      Reboot so DVSIXDI.COM gets installed.  You can only install it
  115.      once.
  116.  
  117.      Start DV, and run Add A Program.  Choose OTHER (Add Program Not
  118.      on List) and enter the name of the DVSI directory in the PATH field.
  119.  
  120.      A list of the DVP files in the DVSI directory will be shown.
  121.      Select the programs that you want to install on the Open Windows
  122.      menu, and hit ENTER.  You don't have to install all the programs,
  123.      for they can be run from the DOS command line.  The most useful
  124.      ones to install on the Open Windows menu are PS, MEMSTAT and
  125.      DF because they can continously show status.  The others can
  126.      just as well be run from the command line.  PS, MEMSTAT, and
  127.      DF don't have to be run in a continous mode; they can be run from
  128.      the command line as well.
  129.  
  130.      Read the rest of this file.  Read MANPAGES.DOC to learn
  131.      about the commands and the options that are available.  And if
  132.      you are a user of an older version of DVSI, take a look at
  133.      WHATSNEW.DOC for a list of bug fixes and changes.
  134.  
  135.      MOST IMPORTANTLY:  Send me comments, gripes, suggestions, bug reports,
  136.      etc.  I want to hear from you!  I can be reached at
  137.           Internet: bodoh@xraylith.wisc.edu or bodoh@cae.wisc.edu
  138.           AT&T net: (608) 255-3474
  139.           USPS net: UW-Madison
  140.                     Electrical and Computer Engineering
  141.                     Dan Bodoh, Graduate Student
  142.                     1415 Johnson Drive
  143.                     Madison, WI 53706
  144.           BBS's:    Quarterdeck's BBS  (213) 396 3904
  145.                     comp.os.msdos.desqview
  146.  
  147. DISTRIBUTION
  148.      The DVSI package is copyright 1991 by Daniel J. Bodoh.  You
  149.      may freely distribute it in its unmodified form.  No files
  150.      may be added to the package or removed from the package, nor
  151.      can any executable or doc file be modified.
  152.  
  153.      In MANPAGES.DOC, I provide the programming interface for DVSIXDI.COM.
  154.      If you write a program to communicate with DVSIXDI, you may not
  155.      include it as part of the package.  You must distribute it
  156.      separately, and provide pointers to the DVSI package.  You can
  157.      upload DVSI to the same place as your program, but they must
  158.      be 2 distinct entities.  Basically, I don't want to claim your credit,
  159.      or conversely, be associated with your bad programming.  If you
  160.      write it, you are responsible for it!
  161.  
  162.      If you want to include you program as part of the package, you
  163.      must send me the source code.  It must be compileable under
  164.      Turbo C using the DVGLUE package from Ralf Brown.  I will not
  165.      claim credit to the code; your name will appear in it.  I may
  166.      or may not spend my time fixing bugs in it.  If it is too full
  167.      of bugs, I will not distribute it.
  168.  
  169.  
  170. ADVERTISEMENT
  171.      During the month between the release of DVSI 1.11 and 1.21, I've
  172.      been busy with another DESQview program.  Richard Reiner and I
  173.      have written DvpEdit.  It replaces "Change A Program", and
  174.      also
  175.  
  176.         ■ provides superior field editing and context-sensitive help
  177.         ■ provides access to DVP fields which Change a Program conceals
  178.         ■ can edit DVP files which are not on DESQview's Open Window menu
  179.         ■ can edit DVP files which are not named something of the form
  180.           ``xx-PIF.DVP''
  181.         ■ can be run from the command line.
  182.  
  183.      DvpEdit has two modes of running.  The default allows the user
  184.      to choose any DVP file from a list.  With "dvpedit -o", a psuedo-
  185.      Open Window menu is provided.
  186.  
  187.      As of the release of DVSI 1.21, DvpEdit is still in Beta test.
  188.      It will soon be released, and will be available on SIMTEL20,
  189.      as well as DVNET.
  190.  
  191. THANKS
  192.      Thanks to...
  193.  
  194.      Ralf Brown, for his DVGLUE package and his interrupt list
  195.  
  196.      All those who sent me bug reports and comments on DVSI 1.11.
  197.      Unfortunately, I deleted the file that contained all your names,
  198.      so I can't credit you individually here.  As I remember, a lot
  199.      of my old bug reporters helped me out again with this release.
  200.      A few new names that I did not delete are
  201.  
  202.         Doug Dougherty - Found some documentation errors, and a bug
  203.                          in PS with programs launced with DVC.
  204.  
  205.         Erik Fichtner  - Reported bugs in Uptime and PS with big
  206.                          CPU time numbers
  207.  
  208.         Jessica Tufte  - Found Divide by 0 error in PS if auto-loaded
  209.                          at DV initialization
  210.  
  211.         And a couple of old names,
  212.         Shannon D. Appel - Also found Uptime and PS big-number bugs.
  213.                            Suggested hh:mm:ss.hh format for numbers,
  214.                            which I implemented.
  215.  
  216.         Richard Reiner   - Lots of suggestions, including 'A' and 'B'
  217.                            in drive list and the "-" as well as "/"
  218.                            for a switch character.
  219.  
  220.      Those that sent me comments on DVSI 1.10:
  221.  
  222.      Richard J. Reiner - Many, many thanks to Richard for his help in
  223.                          locating a severe bug.  Reqested that KILL and
  224.                          other commands ignore "%" preceding PID.  Also
  225.                          found minor bug in the way the programs died
  226.                          outside of DV.  Suggested a quiet switch
  227.                          which will be in the next release.
  228.  
  229.      Jim Reisert -  Found a bug which I have hopefully fixed.  Thanks
  230.                     to Jim for testing and sending me info on the
  231.                     DV configuration.
  232.  
  233.      Greg Alheid -  Uploaded DVSI to Compuserve.
  234.  
  235.      Shannon D. Appel - Found bug in WN with orphaned windows.  Suggested
  236.                         the more Unix-like DF, as well as some changes
  237.                         in how CPU time is reported which will be in
  238.                         the next version.  Also made good suggestions
  239.                         for future window manager.
  240.  
  241.      Those that sent me comments on DVSI 1.0:
  242.  
  243.      JC Pollman - Suggested the grain of an idea: a "window manager"
  244.                   which I intend to write for the next version
  245.  
  246.      Nikolaus R. Haus - Suggested taking output from one window and
  247.                         routing it elsewhere.  This may come in a future
  248.                         version; it will require a lot of thought and
  249.                         work.
  250.  
  251.      Shannon D. Appel - Suggested using "?" in the PS SW column for
  252.                         orphaned processes.  Also suggested KILL (which
  253.                         I already had plans for), and asked for the
  254.                         ability to show TSRs in PS.  That may be coming,
  255.                         but there are a lot of utilities for displaying
  256.                         TSRs already.
  257.  
  258.      Yehiel Greenbaum - Suggested a remote call in utility for DESQview.
  259.                         I'm thinking about that, but it could be a while
  260.                         before I attempt that.
  261.  
  262.      Chia-Chi Chao - Suggested that PS search C:\DV if /d is not
  263.                      specified.  Good idea!
  264.  
  265.      Chris Webster - Pointed out some memory problems for those who are
  266.                      not blessed with 4 or more megabytes.
  267.  
  268.      Richard Reiner - Discussion on TSR memory usage.  Prompted me to
  269.                       shrink DVSIXDI.COM.  Also told me about DVCOMMANDER.
  270.  
  271.      Ward Engle - Discovered bug in NAME and KEY fields for certain
  272.                   cases when programs are started from a script.  I hope
  273.                   I have that bug fixed now.
  274.  
  275.      Mike Pawka - Suggested not erasing window in continous mode, which
  276.                   I had already implemented.
  277.  
  278.  
  279. FUTURE WORK
  280.      Well, I had planned a window manager, but I think that project
  281.      will be a lot of work.  Besides, DESQview/X should provide us
  282.      with a much nicer window manager (if it is ever released).
  283.  
  284.      Another idea I do have is a TCSH or CSH like shell for DV, with
  285.      real pipes and ``&''.  Maybe.
  286.